﻿/*
 * Created by SharpDevelop.
 * User: bcrawford
 * Date: 8/8/2014
 * Time: 1:29 PM
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
using System;

namespace nBayes
{
  /// <summary>
  /// Description of IFileIndex.
  /// </summary>
  public interface FileIndexInterface
  {
    int EntryCount { get; }
    
    void Add(params Entry[] documents);
    
    void Add(Entry document);
    
    int GetTokenCount(string token);

    void Open();

    void AddAndSave(Entry document);
  }
}
